﻿using System;

namespace SSTU.Contract.Common
{
	/// <summary>
	/// Enumeration for data source types, for responses from facades.
	/// Data storage, or place where operation has been completed.
	/// </summary>
	public enum FacadeResponseDataSource
	{
		/// <summary>
		/// Runtime cache, or simple runtime collections, or operation which used only runtime memory.
		/// May not be enough the actual.
		/// </summary>
		Runtime = 1,

		/// <summary>
		/// Local cache, or isolated storage, or other file system place.
		/// May not be enough the actual.
		/// </summary>
		Local = 2,

		/// <summary>
		/// Server result, from Web-services, or from other Web-sites.
		/// Always is entirely actual.
		/// </summary>
		Server = 4,
	}
}
